Bundler\Models\Offer S

Total Complexity 33
Dependencies 1
Dependents 1
Total lines 404
Lines of code 245
Logical lines of code 97
Comment lines 105
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
get_all_offers()
A
44 7 46
get_highest_priority_offer_by_product_id()
S
50 6 32
get_highest_priority_bundle_by_product_id()
S
50 5 31
get_bundle_offers()
S
49 5 30
new_offer()
S
49 2 34
update_offer()
S
51 1 29
get_offer_by_id()
S
61 2 12
update_offer_products()
S
62 2 11
delete_offer()
S
72 1 5
update_offer_status()
S
71 1 5
get_offer_products()
S
64 1 10